package com.lhc.feign.servicefeign.repository;

import com.lhc.feign.servicefeign.repositoryImpl.HelloServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "eurekaClient",fallback = HelloServiceImpl.class)
public interface HelloService {
    @RequestMapping(value = "/eureka/SysHello")
    String SysHello(@RequestParam(value = "str") String name);
}
